Run Hermes adapter through local harness - #35
Conversation
|
Codex review: needs changes before merge. Reviewed August 6, 2026, 9:16 AM ET / 13:16 UTC. ClawSweeper reviewWhat this changesThe PR routes registered non-OpenClaw adapters through ShellBench’s local harness lifecycle and adds workspace-first guidance for Hermes prompts. Merge readinessKeep this PR open: current main still rejects Hermes execution, but the unchanged branch scores supported stateful Hermes runs through an unavailable Gateway shim instead of the active adapter. Priority: P2 Review scores
Verification
How this fits togetherShellBench runs benchmark tasks through an adapter, collects workspace and transcript results, then verifies completion to produce a benchmark score. Local adapters need adapter-specific state verification because they do not use the OpenClaw Gateway RPC interface. flowchart LR
Task[Benchmark task] --> Harness[Harness]
Harness --> Adapter[Hermes adapter]
Adapter --> Workspace[Task workspace]
Adapter --> State[Adapter state verification]
Workspace --> Scoring[Completion scoring]
State --> Scoring
Scoring --> Result[Benchmark result]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Carry active-adapter state-query results into completion scoring before teardown, preserving the neutral capability-missing policy and adding a stateful Hermes regression test. Do we have a high-confidence way to reproduce the issue? Yes. A Hermes AIAgent-mode task requiring memory or cron reaches the PR’s local adapter path, which admits the capability but scores it using _LocalVerificationClient rather than adapter state verification. Is this the best way to solve the issue? No. The local lifecycle is the right direction, but it must feed the adapter’s canonical state-query outcomes into scoring instead of treating them as Gateway RPC checks. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (45 earlier review cycles; latest 8 shown)
|
Summary
Validation
/Users/reckon/miniconda3/bin/python -m pytest tests/test_harness.py tests/test_hermes_adapter.py -q->21 passed/Users/reckon/miniconda3/bin/python -m pytest -q->318 passed, 5 skippedt2-msg-summarize-threadimproved from0.63704to1.000with the workspace-guidance patch.Notes
adapter != "openclaw"through the adapter lifecycle.